Platform Explorer / Nuxeo Platform LTS 2017 9.10

Operation Log (Log)

Description

Logging with log4j
Operation id Log
AliasesLogOperation
Category Notification
Label Log
Requires
Since

Parameters

Name Description Type Required Default value
level string yes info, debug, warn, error 
message string yes  
category string no  

Signature

Inputs void
Outputs void

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.LogOperation
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Log",
  "aliases" : [ "LogOperation" ],
  "label" : "Log",
  "category" : "Notification",
  "requires" : null,
  "description" : "Logging with log4j",
  "url" : "Log",
  "signature" : [ "void", "void" ],
  "params" : [ {
    "name" : "level",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "Option",
    "order" : 0,
    "values" : [ "info", "debug", "warn", "error" ]
  }, {
    "name" : "message",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "category",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}